<?php

namespace App\Exceptions;

use Exception;

use Symfony\Component\HttpKernel\Exception\HttpException;

class CustomException extends HttpException
{

    public function __construct(string $message = null,$statusCode=400, \Throwable $previous = null, int $code = 0, array $headers = [])
    {
        parent::__construct($statusCode, $message, null, [], $code);
    }
}